﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ObjectModel
{
	[Table(Name="activities")]
    public class Activities :BaseEntity<Activities>
    {
		[Field(Name = "name")]
		public String Name { get; set; }

		[Field(Name = "description")]
		public String Description { get; set; }

		[Field(Name = "id_phase")]
		public Int32 IdPhase { get; set; }

		[Field(Name = "begin_date")]
		public DateTime BeginDate { get; set; }

		[Field(Name = "end_date")]
		public DateTime EndDate { get; set; }
		//public List<Project> Projects { get; set; }

		[Field(Name = "estimated_begin")]
		public DateTime EstimatedBegin { get; set; }

		[Field(Name = "estimated_end")]
		public DateTime EstimatedEnd { get; set; }

		[Field(Name = "user_created")]
		public Int32 UserCreated { get; set; }

		[Field(Name = "user_realized")]
		public Int32 UserRealized { get; set; }
    }
}
